lesser of two evils

Translations
le moindre des deux maux
Definitions
A choice between two undesirable options, where one option is considered to be the less harmful or more acceptable of the two.